import User from '@/common/SDK/user/index';
import { instance } from '@/common/tools/axios';
export class STR extends User {

    public constructor(name:string,age:string,sex:string,school:number){
        super(name,age,sex);//父类构造方法
    }

    public async getData(){
        return await instance({
            url: '/api/admin/login',
            data: {
                username: "admin",
                password: '12345678'
            }
        })
    }
}
export default new STR("so","s","2",2);
